import { reactive } from "vue"
import { useCheck } from "@/hook/useCheck"

export function useRules() {

    // 验证函数
    const check = useCheck();

    let authorityRules = reactive({
     
        fileTime: [
            { required: true, message: '请输入规范年份', trigger: ['blur','change'] },
        ],
        fileType: [
            { required: true, message: '请输入规范类型', trigger: ['blur','change'] },
        ],
        fileCode: [
            { required: true, message: '请输入规范编码', trigger: ['blur','change'] },
        ]
        
    })

   

    return{authorityRules}
}